package com.example.mvcdemo1.service;

import com.example.mvcdemo1.model.Student;

import java.util.List;

public interface StudentService {
    List<Student> getAllStudents();
    void saveStudent(Student student);

    Student getStudentByid(Long id);
    void deleteStudentByid(Long id);
}
